<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"  
    xmlns:h="http://java.sun.com/jsf/html"  
    xmlns:f="http://java.sun.com/jsf/core"  
    xmlns:p="http://primefaces.org/ui">
<h:head> <meta http-equiv="refresh" content="#{session.maxInactiveInterval};url=../index.jsf" />
<link rel="shortcut icon" href="icono.ico" /> 
	<meta charset="utf-8" />
	<title>SACA</title>
	<link rel="stylesheet" href="../styles.css" type="text/css" media="screen" />
	<link rel="stylesheet" type="../text/css" href="print.css" media="print" />
	<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
</h:head>
<h:body>
    <h:form id="frm_admin">

			
                        
    <p:panel header="ADMINISTRADOR - OPCIONES DISPONIBLES" toggleable="true" toggleOrientation="horizontal">  
         <h:panelGrid id="panel_opciones" columns="7" style="padding:0 10px 0 30px;"  >
             <h:panelGroup>
                 <p:commandLink title="DOCENTES Y MATERIAS" action="#{managedBeanAdministradorPaginas.alumnos}"  update=":frm_admin:display " oncomplete="DocentesxMateriaDialog.show()" >
            <h:graphicImage width="135 px" height="100 px" value="${pageContext.request.contextPath}/images/docente_materia.jpg" alt="" title="" style="border-width:0px;"/>
            </p:commandLink><br/>
            <p:commandLink   value="DOCENTES Y MATERIAS" action="#{managedBeanAdministradorPaginas.alumnos}"  update=":frm_admin:display " oncomplete="DocentesxMateriaDialog.show()" />
            </h:panelGroup>
       
         
        
             
       </h:panelGrid>
        
    </p:panel>  
						
	<p:dialog id="dialog" header="OPCIONES" widgetVar="DocentesxMateriaDialog" resizable="false"
                  width="450"  height="150" showEffect="clip" hideEffect="fold">

            <h:panelGrid id="display"  columns="1" cellpadding="4">
                <h:panelGrid id="contenido_docentes" columns="2" cellpadding="4">
                    
          
                <h:outputText value="AÑO LECTIVO: "  />

                <p:selectOneMenu  value="#{managedBeanAnioLectivo.anio_lectivo}" effect="drop" style="width:300px" converter="aniolectivoConverter" >
                    <f:selectItems  id="item_aniolectivo" value="#{managedBeanAnioLectivo.anioslectivosItems}"/>
        </p:selectOneMenu>
                      </h:panelGrid>
                <p:separator />
                
                <h:panelGrid id="contenido_boton" style="text-align: center; padding-left: 50px" columns="1" cellpadding="4">
                    <p:commandButton  value="ASIGNAR MATERIAS A DOCENTES" action="#{managedBeanAdministradorPaginas.docentes_anio()}"/>
                </h:panelGrid>
               
            </h:panelGrid>

           
            
    </p:dialog>		
</h:form>
</h:body>
</html>